package design.builder;

/**
 * Created by admin on 2019/3/13.
 */
public class Ship {
    private Kell kell;
    private Turbo turbo;

    public Kell getKell() {
        return kell;
    }

    public void setKell(Kell kell) {
        this.kell = kell;
    }

    public Turbo getTurbo() {
        return turbo;
    }

    public void setTurbo(Turbo turbo) {
        this.turbo = turbo;
    }

    @Override
    public String toString() {
        kell.run();
        turbo.run();
        return "";
    }
}
